public class Location 
{
	private String locName;
	private long timestamp;
		
	public Location(String name, long timestamp) {
		super();
		
		this.locName = name;
		this.setTimestamp(timestamp);
	}
	
	public String getName() {
		return locName;
	}
	
	public void setName(String name) {
		locName = name;
	}

	/*@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((locName == null) ? 0 : locName.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Location other = (Location) obj;
		if (locName == null) {
			if (other.locName != null)
				return false;
		} else if (!locName.equals(other.locName))
			return false;
		return true;
	}*/

	public long getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(long timestamp) {
		this.timestamp = timestamp;
	}
	
	
}
